import { createApp } from 'vue'
import App from './App.vue'


// 全量引入
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css';

import { createPinia } from 'pinia';

import router from './router';

import './style.css'

import './demos/ipc'
// If you want use Node.js, the`nodeIntegration` needs to be enabled in the Main process.
// import './demos/node'

const app = createApp(App)
app.use(ElementPlus);
app.use(createPinia());
app.use(router);

app.mount('#app').$nextTick(() => {
    postMessage({ payload: 'removeLoading' }, '*')
  })
